$scalerThumbName = $file->getParamThumbName( $file->name, $params );
$scalerThumbUrl = $wgUploadStashScalerBaseUrl . '/' . $file->getRel() . '/' . $scalerThumbName;
- // make a CURL call to the scaler to create a thumbnail
- wfDebug( "UploadStash: calling " . $scalerThumbUrl . " with curl \n" );
+ // make a curl call to the scaler to create a thumbnail
$httpOptions = array(
'method' => 'GET',
'timeout' => 'default'
}
self::outputHeaders( $file->getMimeType(), $file->getSize() );
readfile( $file->getPath() );
+ return true;
}
/**
}
self::outputHeaders( $contentType, $size );
print $content;
+ return true;
}
/**